Scale: Set the correct value alignment
authorTimm Bäder <mail@baedert.org>
Tue, 10 May 2016 16:33:37 +0000 (18:33 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 10 May 2016 19:24:50 +0000 (21:24 +0200)
commit327777a291a736ed3e0ebb14b2be6cdbb664c907
treeca2c5647bccd386308194166098e72fe99bed253
parent7b81b56f7b55b0339f20810fcb12043fa2ab81c7
Scale: Set the correct value alignment

We're measuring both the width of the minimal and the maximal value for
the value gadget, but only give the value the minimal width for its
current value, resultnig in an always left-aligned value.

Fix this by assigning the width of the value gadget to the value layout
and letting pango align the text inside the layout.

https://bugzilla.gnome.org/show_bug.cgi?id=766120
gtk/gtkscale.c